package com.zjitc.utils.old.listener;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/6/21 16:26
 * @description:
 */
@Configuration
public class rabbitmq_config {


  @Bean
  public ExecutorService executors(){
    return Executors.newFixedThreadPool(500);
  }
}
